package com.junlong.service.impl;


import com.junlong.mapper.AccountMapper;
import com.junlong.po.Account;
import com.junlong.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: SpringSSM
 * @author: qinjianbao
 * @create: 2020-12-22 09:42
 * @Version: 1.0
 */
@Service
public class AccoutServiceImpl implements AccountService {

    //注入
    @Autowired(required = false)
    private AccountMapper accountMapper;

    /**
     *
     * @return
     */
    @Override
    public List<Account> findAll() {
        return accountMapper.findAll();
    }
}
